package com.party.core.dao.write.wechat;

import com.party.core.dao.write.BaseWriteDao;
import com.party.core.model.wechat.WechatMaterial;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 微信素材数据写入
 * Created by cyl on 2017/9/4.
 */
@Repository
public interface WechatMaterialWriteDao extends BaseWriteDao<WechatMaterial> {

    /**
     * 根据会员编号删除
     * @param memberId 会员编号
     * @return 删除结果（true/false）
     */
    boolean deleteByMemberId(@Param(value = "memberId") String memberId);
}
